package tako.wisers.com.android.apis.preference;

import tako.wisers.com.android.apis.item.SettingItem;
import tako.wisers.com.android.apis.setting.SettingManager;
import tako.wisers.com.android.apis.util.Global;
import android.content.Context;

public class ConfDownLoadPreference extends DownLoadPreference {

	public ConfDownLoadPreference(Context context) {
		super(context);
		type = Global.CONF_DOWNLOAD_TYPE;
		SettingManager sm = SettingManager.getInstance();
		SettingItem setting = sm.get(Global.CONF_DOWNLOAD_TYPE);
		
		String title = setting.getVersion();
		String summary = setting.getHost();
		
		setTitle(VER_PIX + title);
		setSummary(summary);
	}

}
